package com.springboot.demo.module.controller;

import com.springboot.demo.module.domain.vo.LoginVO;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/****************************************************
 *
 * 登录 / 退出登录 controller
 *
 *
 * @author Francis
 * @date 2019/8/13 10:45
 * @version 1.0
 **************************************************/
@RestController
@RequestMapping("/sessions")
public class LoginController {


    /**
     * 登录
     *
     * @param loginVO 登录VO
     * @return
     */
    @RequestMapping(value = "", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
    public Map<String, Object> login(@RequestBody LoginVO loginVO){


        return null;
    }

}
